package com.yellow.orderservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yellow.orderservice.entity.Order;
import com.yellow.orderservice.entity.Receiver;

import java.util.List;

public interface ReceiverService extends IService<Receiver> {
    void insertReceiver(Receiver receiver);

    Long findIdByName(String name);

    List<Receiver> findReceiverByName(String name);

    List<Order> getOrdersByReceiverName(String name);

    Long contReceivers();
}
